<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<title>layout 后台大布局 - Layui</title>
<link rel="stylesheet" href="/layui-v2.0.1/layui/css/layui.css">
<link rel="stylesheet" href="/css/admin.css">

</head>
<body>

  
 
   <form action="dochange" method="post" style="width:500px;margin-top: 20px;margin-left: 50px">
    <div class="layui-form-item">
    <label class="layui-form-label">顺位选择</label>
    <input type="hidden" class="lien" value="<?php echo $str['lien']?>">
    <input type="hidden" name="id" value="<?php echo $str['id']?>">
    <div class="layui-input-block">
      <select name="lien" lay-filter="aihao" style="height:37px;width:100px" id="eventLevel">
        <option value="1" selected="">第一顺位</option>
        <option value="2">第二顺位</option>
        <option value="3">第三顺位</option>
      </select>
    </div>
    </div>
    <div class="layui-form-item" style="margin-top: 20px">
      <label class="layui-form-label">顺位值</label>
      <div class="layui-input-block">
        <input type="text" name="lien_number" lay-verify="required" value="<?php echo $str['lien_number']?>" autocomplete="off" class="layui-input">
      </div>
    </div>
    <label class="layui-form-label">含义</label>
     <div class="layui-form-item" style="margin-left: 110px; width:400px height:400px">
      
      <textarea name="explanination" id="LAY_demo1" style="display: none">  
        <?php echo $str['explanination']?>
     </textarea>
    </div>
     <div class="layui-form-item" style="margin-top: 20px">
      <div class="layui-input-block">
        <button class="layui-btn change" lay-submit="" lay-filter="demo1">确认修改</button>          
      </div>
     </div> 
   </form>
<script src="/layui-v2.0.1/layui/layui.js"></script>
<script>
//JavaScript代码区域
layui.use('element', function(){
  var element = layui.element;
  
});
</script>
</body>
</html>
<script>

</script>
<script>
layui.use(['layedit','jquery'], function(){
  var layedit = layui.layedit
  ,$ = layui.jquery;
  
  //构建一个默认的编辑器
  var index = layedit.build('LAY_demo1');

  $(function(){
  var kid=$(".lien").val();
  $("#eventLevel").val(kid);
 })




});
</script>
<script>
  layui.use(['element',], function(){
  var element = layui.element;
  
});

</script>


